home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
cli
/
0utils.lha
/
0Utils
/
Exists.doc
< prev
next >
Wrap
Text File
|
1995-09-05
|
1KB
|
72 lines
NAME
Exists
SYNOPSIS
Exists - determine, if a file exists - Requires v37
INPUTS
"FILE/A,NAME/S,FULL/S"
DESCRIPTION
Get one filename on Commandline
and write to StdOut if it exists
Exists gets a filename and outputs if it exists.
The resulting string is sent to STDOUT.
RESULT
if NAME is set the filename if the file exists,
or empty string if not else 1/0
NOTES
* CLI - only
* should compile with SAS-C
BUGS
We use 'Lock' to check the file, so an exclusively
locked file is not recognized.
We currently do not set ERROR_FILE_NOT_FOUND if
Exists does not find a file
EXAMPLES
>Exists Sys:
1
>Exists c:copy NAME
c:copy
>Exists jabba:the:hutt
0
HISTORY
20-03-94 b_noll created
03-02-95 b_noll created (had forgotten the first version =8-})
11-02-95 b_noll added FULL Keyword
20-02-95 b_noll restructured source
21-02-95 b_noll added version/format-prefix/offset
20-03-95 b_noll added args diagnostics
19-08-95 b_noll created .data file
AUTHOR
Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
noll@student.uni-kl.de